package routers

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func LoadIndex(engine *gin.Engine) {
	engine.LoadHTMLGlob("./templates/*")
	engine.GET("/index", func(ctx *gin.Context) {
		ctx.HTML(http.StatusOK, "index.html", gin.H{"title": "我是测试", "ce": "123456"})
	})
}
